package com.xhs.main.service.scgl;

import com.xhs.main.entity.scgl.ScglScrw;

import java.util.List;

public interface ScglScrwService {
    void scgl_scglScrw_insert(ScglScrw scglScrw);
    List<ScglScrw> scgl_scglScrw_selectAll();

    //分页查询
    List<ScglScrw> scgl_scglScrw_selectAll_bylimit(Integer index, Integer pageNum);

    //模糊查询
    List<ScglScrw> scgl_scglScrw_LikeselectAll_bylimit(
            String thisscglScjhDocumentnum, String thisscglScjhPersonincharge,
            String scglScrwScjhDocumentnum,String thisscglScrwMachiningtype,Integer scglScjhStatus, Integer scglScjhBillsstatus, Integer index, Integer pageNum);
    //模糊查询(查询所有,不分页)
    List<ScglScrw> scgl_scglScrw_LikeselectAll(
            String thisscglScjhDocumentnum, String thisscglScjhPersonincharge,
            String scglScrwScjhDocumentnum,String thisscglScrwMachiningtype, Integer scglScjhStatus, Integer scglScjhBillsstatus);

    //查询单个
    ScglScrw scgl_scglScrw_selectOne(String thisScglScjhDocumentnum);

    //审核通过修改数据库状态,修改确认人,确认时间
    void scgl_scglScrw_updateStatus(String thisScglScjhConfirmpeople, String thisScglScjhConfirmdate, Integer thisScglScjhBillsstatus, Integer thisScglScjhStatus, String thisscglScjhDocumentnum, String thisscglScjhRemarks);

    //查询所有正在执行的生产任务
    List<ScglScrw> scgl_scglScrw_selectAllThiszhixing();

    void  scgl_scglScrw_updateLast(String scgl_scjh_statementPeople,String scgl_scjh_dateofOrder,String scgl_scjh_lastUpdatePeople,String scgl_scjh_lastUpdateDate,String thisscglScjhDocumentnum);


}
